package com.monitor.admin.dao;

import com.monitor.admin.entity.Detail;
import com.monitor.admin.entity.DetailExample;
import com.monitor.admin.entity.DetailWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DetailMapper {
    long countByExample(DetailExample example);

    int deleteByExample(DetailExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DetailWithBLOBs record);

    int insertSelective(DetailWithBLOBs record);

    List<DetailWithBLOBs> selectByExampleWithBLOBs(DetailExample example);

    List<Detail> selectByExample(DetailExample example);

    DetailWithBLOBs selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DetailWithBLOBs record, @Param("example") DetailExample example);

    int updateByExampleWithBLOBs(@Param("record") DetailWithBLOBs record, @Param("example") DetailExample example);

    int updateByExample(@Param("record") Detail record, @Param("example") DetailExample example);

    int updateByPrimaryKeySelective(DetailWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(DetailWithBLOBs record);

    int updateByPrimaryKey(Detail record);

}